package com.iot.service.mqtt.config;

import com.iot.service.mqtt.service.auth.TlUser;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: hszhou
 * @Date: 2025/2/8 9:52
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@ConfigurationProperties(prefix = "mqtt.auth")
@Component
@Data
public class TlAuthProperties {


    private boolean enabled;
    private List<TlUser> user = new ArrayList<>();


}
